export default {
  updateDirection(state, direction) {
    if (state.isFirst) {
      state.isFirst = false
    } else {
      state.direction = direction
    }
  }
}
